package com.eas.biz.dao.statistic.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.eas.biz.dao.statistic.dataobject.StudentTagStatisticDO;
import com.eas.biz.dao.statistic.interfaces.StudentTagStatisticDao;
import com.eas.biz.framework.BaseQuery;
import com.eas.biz.framework.dao.GenericDaoImpl;

@Repository("studentTagStatisticDao")
public class StudentTagStatisticDaoImpl extends GenericDaoImpl<StudentTagStatisticDO> implements
        StudentTagStatisticDao {

    public StudentTagStatisticDO selectById(long id) {
        return selectById("StudentTagStatistic.selectById", id);
    }

    public long insert(StudentTagStatisticDO object) {
        return insert("StudentTagStatistic.insert", object);
    }

    public int deleteById(long id) {
        return deleteById("StudentTagStatistic.deleteById", id);
    }

    public int update(StudentTagStatisticDO object) {
        return update("StudentTagStatistic.update", object);
    }

    public List<StudentTagStatisticDO> selectByQuery(BaseQuery query) {
        return selectByQuery("StudentTagStatistic.selectByQuery", query);
    }

    public int countByQuery(BaseQuery query) {
        return countByQuery("StudentTagStatistic.countByQuery", query);
    }

    public int deleteByQuery(BaseQuery query) {
        return deleteByQuery("StudentTagStatistic.deleteByQuery", query);
    }

}
